# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=su-exec
pkgver=0.2
pkgrel=3
pkgdesc="switch user and group id, setgroups and exec"
url="https://github.com/ncopa/su-exec"
arch="all"
license="MIT"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/ncopa/su-exec/archive/v$pkgver.tar.gz"

build() {
	make
}

package() {
	install -D su-exec "$pkgdir"/sbin/su-exec
}

sha512sums="68155a06c716b362aee1214f22cd325b3e934c05b653d3b084a720458fb04207c0681d218b72adfd5ae8fab0262f7ab90e49eb2e218d1b0d7d7af7911715d4e1  su-exec-0.2.tar.gz"
